//
//  TableViewGapRespondView.m
//  万物记
//
//  Created by Ajen on 2019/6/18.
//  Copyright © 2019 Ajen. All rights reserved.
//

#import "TableViewGapRespondView.h"

@implementation TableViewGapRespondView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        UIImageView * imgBg = [UIImageView new];
        imgBg.aj_imgName(@"gapBgImg").aj_addToView(self);
        [imgBg mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.equalTo(self);
        }];
        
        UIImageView * icon = [UIImageView new];
        icon.aj_imgName(@"插入行").aj_addToView(self);
        [icon mas_makeConstraints:^(MASConstraintMaker *make) {
            make.right.equalTo(self).offset(-5);
            make.width.height.equalTo(@20);
            make.centerY.equalTo(self);
        }];
        
        UILabel * titleLabel2 = [UILabel new];
        titleLabel2.aj_Text(@"悬浮球拖动到此处,\n松手即可在此处插入一条内容").aj_numberOfLines(0).aj_textColorHexStr(@"#7a7374").aj_addToView(self);
        titleLabel2.font = [UIFont systemFontOfSize:9 weight:UIFontWeightRegular];
        [titleLabel2 mas_makeConstraints:^(MASConstraintMaker *make) {
            make.centerY.equalTo(self);
            make.left.equalTo(self).offset(23);
        }];
    }
    return self;
}

@end
